package com.varian.task.constant;

/**
 * @author ben
 * @since 2024/12/10
 */
public interface TaskConstant {

    String EXCHANGE_TASK = "exchange_task";

    // 任务记录
    String QUEUE_TASK_CREATE = "queue_task_create";
    String RK_TASK_CREATE = "routing_key_task_create";

    // 任务执行
    String QUEUE_TASK_EXECUTE = "queue_task_execute";
    String RK_TASK_EXECUTE = "routing_key_task_execute";

    // 任务更新
    String QUEUE_TASK_UPDATE = "queue_task_update";
    String RK_TASK_UPDATE = "routing_key_task_update";

    // 任务超时检查
    String QUEUE_TASK_TIMEOUT_CHECK = "queue_task_timeout_check";
    String RK_TASK_TIMEOUT_CHECK = "routing_key_task_timeout_check";
    Integer TIMEOUT_CHECK_INTERVAL = 10;
}
